<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div
    {
        width: 100px;
        height: 100px;      
        background-color: red;
        margin-top: 10px;
        }
        .newClass{
        width: 100px;
        height: 100px;      
        background-color: rgb(69, 27, 177);
        margin-top: 10px;
        }
</style>
<body>
    <div></div>
    <div id="son aa dd aaa aass"></div>

    <script>
        var div = document.querySelectorAll('div');
       

    </script>
</body>
</html>